package com.qs.rocketmq.order.service;

import com.qs.rocketmq.common.util.ResultObject;
import com.qs.rocketmq.order.dto.OrderDTO;
import com.qs.rocketmq.order.entity.Order;

public interface OrderService {

    Order getById(String id);

    boolean existOrder(String orderSn);

    ResultObject<Object> createOrder(OrderDTO orderDTO);

    ResultObject<Object> doCreateOrder(OrderDTO orderDTO);
}
